package com.pinusmusic.domain;

public class MusicRank {
    private Music music;
    private Integer commentsCount;
    private Singer singer;

    public MusicRank() {
    }

    public MusicRank(Music music, Integer commentsCount, Singer singer) {
        this.music = music;
        this.commentsCount = commentsCount;
        this.singer = singer;
    }

    public Music getMusic() {
        return music;
    }

    public void setMusic(Music music) {
        this.music = music;
    }

    public Integer getCommentsCount() {
        return commentsCount;
    }

    public void setCommentsCount(Integer commentsCount) {
        this.commentsCount = commentsCount;
    }

    public Singer getSinger() {
        return singer;
    }

    public void setSinger(Singer singer) {
        this.singer = singer;
    }

    @Override
    public String toString() {
        return "MusicRank{" +
                "music=" + music +
                ", commentsCount=" + commentsCount +
                ", singer=" + singer +
                '}';
    }
}
